<html>
<head><meta charset="utf-8"><title>ra_lsp_server not running · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/ra_lsp_server.20not.20running.html">ra_lsp_server not running</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="182821906"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/ra_lsp_server%20not%20running/near/182821906" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Dhs92 <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/ra_lsp_server.20not.20running.html#182821906">(Dec 07 2019 at 01:41)</a>:</h4>
<p>I am running RA in a remote environment, using WSL1. It would seem that even after installing ra_lsp_server separately, the server isn't starting when I run VSC and open a .rs file. I'm getting a TS error when opening VSC, see here: <a href="https://i.imgur.com/I49YcqZ.png" target="_blank" title="https://i.imgur.com/I49YcqZ.png">https://i.imgur.com/I49YcqZ.png</a></p>
<div class="message_inline_image"><a href="https://i.imgur.com/I49YcqZ.png" target="_blank" title="https://i.imgur.com/I49YcqZ.png"><img src="https://i.imgur.com/I49YcqZ.png"></a></div><p>I have already tried setting the <code>rust-analyzer.raLspServerPath</code> to where the binary was installed and this did not resolve the issue.<br>
Anyone have any ideas?</p>
<div class="codehilite"><pre><span></span>ps aux | grep ra_lsp_server
yuuki    31709  0.0  0.0  14804  1204 pts/0    S    17:35   0:00 grep --color=auto ra_lsp_server
</pre></div>


<p>VSC Version: 1.40.2<br>
RA Version: master branch, pulled this afternoon<br>
WSL Ver: Ubuntu 18.04.3 LTS</p>
<p>Edit: Note, also updated Stable and Nightly to latest &amp; tried building with both, no luck</p>



<a name="182830764"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/ra_lsp_server%20not%20running/near/182830764" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Dhs92 <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/ra_lsp_server.20not.20running.html#182830764">(Dec 07 2019 at 06:13)</a>:</h4>
<p>Fixed the issue by updating NodeJS and doing a clean compile. It would seem that Ubuntu 18.04.3 LTS uses NodeJS 8.x, which I did not realize (should've checked :&gt; )</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>